package com.banyuan.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author yzt
 */
@Data  // 代替get、set、toString、HashCode和equals
@NoArgsConstructor //无参
@AllArgsConstructor // 有参
public class User {
    private Integer id;
    private String username;
    private Date birthday;
    private String sex;
    private String address;
}
